<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>list</title>
	<meta http-equiv="Refresh" content="3" />
  </head>
  
  <body>
    <div>
    	<ul>
    		<% 
    			List<String> nameList = (List<String>)application.getAttribute("nameList");
    			
    			for(String name : nameList)
    			{
    		%>
    		<li><%=name %></li>
    		
    		<%} %>
    	</ul>
    </div>
  </body>
</html>
